var templateName = 'templateName';

export const configsData = {
	"1_minigame": {
		host: `www.1_a0.com`,
		data: { name: `1_A0`, logo: `1_a0` },
		html: createHtmlProps(5, 3, 0),
	},
	// "1_minigame_yandex": {
	//     host: `www.1_a1.top`,
	//     data: { name: `1_A1`, logo: `1_a1` },
	//     html: createHtmlProps(5, 3, 0),
	// },
	"2_adxnogame": {
		host: `www.a2.com`,
		data: { name: `A2`, logo: `a2` },
		html: createHtmlProps(5, 3, 1),
	},
	"3_wosoclassic": {
		host: `www.a3.com`,
		data: { name: `A3`, logo: `a3` },
		html: createHtmlProps(4, 3, 1),
	},
	"4_adxgamedetail": {
		host: `www.a4.com`,
		data: { name: `A4`, logo: `a4` },
		html: createHtmlProps(5, 2, 2),
	},
	"5_yeahmobi": {
		host: `www.a5.com`,
		data: { name: `A5`, logo: `a5` },
		html: createHtmlProps(4, 2, 2),
	},
	"6_adxplay1": {
		host: `www.a6.com`,
		data: { name: `A6`, logo: `a6` },
		html: createHtmlProps(5, 2, 2),
	},
	"7_adxplayhot": {
		host: `www.a7.com`,
		data: { name: `A7`, logo: `a7` },
		html: createHtmlProps(5, 2, 3),
	},
	"8_adxnogamehot": {
		host: `www.a8.com`,
		data: { name: `A8`, logo: `a8` },
		html: createHtmlProps(5, 3, 2),
	},
	"9_huntmobi": {
		host: `www.a9.com`,
		data: { name: `A9`, logo: `a9` },
		html: createHtmlProps(5, 3, 2),
	},
	"10_adxgame": {
		host: `www.a10.com`,
		data: { name: `A10`, logo: `a10` },
		html: createHtmlProps(5, 2, 2),
	},

	"11_wosotoponline": {
		host: `www.a11.com`,
		data: { name: `A11`, logo: `a11` },
		html: createHtmlProps(5, 3, 2),
	},
	"12_anymind": {
		host: `www.a12.com`,
		data: { name: `A12`, logo: `a12` },
		html: createHtmlProps(5, 2, 2),
	},
	"13_wosotoph5same": {
		host: `www.a13.com`,
		data: { name: `A13`, logo: `a13` },
		html: createHtmlProps(5, 3, 2),
	},
	"14_wosogamecenter": {
		host: `www.a14.com`,
		data: { name: `A14`, logo: `a14` },
		html: createHtmlProps(5, 2, 2),
	},
	"15_yangge": {
		host: `www.a15.com`,
		data: { name: `A15`, logo: `a15` },
		html: createHtmlProps(5, 2, 2),
	},
	"16_slowforeign": {
		host: `www.a16.com`,
		data: { name: `A16`, logo: `a16` },
		html: createHtmlProps(4, 3, 1),
	},
	"17_wosonotsame": {
		host: `www.a17.com`,
		data: { name: `A17`, logo: `a17` },
		html: createHtmlProps(5, 2, 2),
	},

	"18_h5dl231027": {
		host: `www.a18.com`,
		data: { name: `A18`, logo: `a18` },
		html: createHtmlProps(4, 2, 2),
	},
	"19_zixun231106": {
		host: `www.a19.com`,
		data: { name: `A19`, logo: `a19` },
		html: createHtmlProps(3, 1, 1),
	},
	"20_h5dl231109": {
		host: `www.a20.com`,
		data: { name: `A20`, logo: `a20` },
		html: createHtmlProps(4, 1, 2),
	},
	"21_inventorytags": {
		host: `www.a21.com`,
		data: { name: `A21`, logo: `a21` },
		html: createHtmlProps(5, 3, 2),
	},
	"22_qdgamebox": {
		host: `www.a22.com`,
		data: { name: `A22`, logo: `a22` },
		html: createHtmlProps(3, 2, 2),
	},
	"23_yhj_gs_231226": {
		host: `www.a23.com`,
		data: { name: `A23`, logo: `a23` },
		html: createHtmlProps(4, 2, 1),
	},
	"24_newyhj_240109": {
		host: `www.a24.com`,
		data: { name: `A24`, logo: `a24` },
		html: createHtmlProps(4, 2, 1),
	},
	"25_grml_240515": {
		host: `www.a25.com`,
		data: { name: `A25`, logo: `a25` },
		html: createHtmlProps(3, 2, 1),
	},
	"26_populargame": {
		host: `www.a26.com`,
		data: { name: `A26`, logo: `a26` },
		html: createHtmlProps(2, 2, 1),
	},
	"27_CGam240612": {
		host: `www.a27.com`,
		data: { name: `A27`, logo: `a27` },
		html: createHtmlProps(3, 2, 1),
	},
	"28_clh5game_240628": {
		host: `www.a28.com`,
		data: { name: `A28`, logo: `a28` },
		html: createHtmlProps(3, 2, 2),
	},
	"28_clh5game_250915": {
		host: `www.a28_1.com`,
		data: { name: `A28_1`, logo: `a28_1` },
		html: createHtmlProps(4, 2, 2),
	},
	"29_woaida_240705": {
		host: `www.a29.com`,
		data: { name: `A29`, logo: `a29` },
		html: createHtmlProps(4, 2, 2),
	},
	"30_wotop2_240712": {
		host: `www.a30.com`,
		data: { name: `A30`, logo: `a30` },
		html: createHtmlProps(3, 2, 2),
	},

	"31_wo4fang_240719": {
		host: `www.a31.com`,
		data: { name: `a31`, logo: `a31` },
		html: createHtmlProps(4, 3, 2),
	},
	"32_j59xyz_241212": {
		host: `www.a32.com`,
		data: { name: `a32`, logo: `a32` },
		html: createHtmlProps(4, 2, 2),
	},
	"33_hexblazea_241219": {
		host: `www.a33.com`,
		data: { name: `a33`, logo: `a33` },
		html: createHtmlProps(4, 2, 2),
	},
	"34_autoArticle241212": {
		host: `www.a34.com`,
		data: { name: `a34`, logo: `a34` },
		html: createHtmlProps(3, 1, 1),
	},
	"37_a20Article_240103": {
		host: `www.a34.com`,
		data: { name: `A34`, logo: `a34` },
		html: createHtmlProps(3, 1, 1),
	},
	"38_conver_250306": {
		host: `www.a38.com`,
		data: { name: `A38`, logo: `a38` },
		html: createHtmlProps(4, 2, 1),
	},
	"39_ufreegames_250310": {
		host: `www.a39.com`,
		data: { name: `A39`, logo: `/a39` },
		html: createHtmlProps(4, 2, 1),
	},
	"40_gbanana_250313": {
		host: `www.a40.com`,
		data: { name: `A40`, logo: `a40` },
		html: createHtmlProps(4, 2, 1),
	},
	"41_morning_DL250311": {
		host: `www.41_a0.com`,
		data: { name: `41_A0`, logo: `41_a0` },
		html: createHtmlProps(4, 2, 1),
	},
	"41_picture_DL250319": {
		host: `www.41_a1.com`,
		data: { name: `41_A1`, logo: `41_a1` },
		html: createHtmlProps(4, 2, 1),
	},
	"41_journey_DL250320": {
		host: `www.41_a2.com`,
		data: { name: `41_A2`, logo: `41_a2` },
		html: createHtmlProps(4, 2, 1),
	},
	"41_airport_DL250522": {
		host: `www.41_a3.com`,
		data: { name: `41_A3`, logo: `41_a3` },
		html: createHtmlProps(3, 2, 2),
	},
	"41_library_DL250908": {
		host: `www.41_a4.com`,
		data: { name: `41_A4`, logo: `41_a4` },
		html: createHtmlProps(4, 2, 1),
	},
	"41_message_DL250912": {
		host: `www.41_a5.com`,
		data: { name: `41_A5`, logo: `41_a5` },
		html: createHtmlProps(4, 2, 1),
	},
	"41_network_DL250918": {
		host: `www.41_a6.com`,
		data: { name: `41_A6`, logo: `41_a6` },
		html: createHtmlProps(4, 2, 1),
	},
	"41_quality_DL250924": {
		host: `www.41_a7.com`,
		data: { name: `41_A7`, logo: `41_a7` },
		html: createHtmlProps(4, 2, 1),
	},
	"41_rainbow_DL250928": {
		host: `www.41_a8.com`,
		data: { name: `41_A8`, logo: `41_a8` },
		html: createHtmlProps(4, 2, 1),
	},
	"41_traffic_DL1009": {
		host: `www.41_a9.com`,
		data: { name: `41_A9`, logo: `41_a9` },
		html: createHtmlProps(4, 2, 1),
	},
	"42_TimeTools": {
		host: `www.a42.com`,
		data: { name: `A42`, logo: `a42` },
		html: createHtmlProps(2, 0, 0),
	},
	"43_problem_250506": {
		host: `www.a43.com`,
		data: { name: `A43`, logo: `a43` },
		html: createHtmlProps(4, 2, 1),
	},
	"44_meeting_250519": {
		host: `www.a44.com`,
		data: { name: `A44`, logo: `a44` },
		html: createHtmlProps(4, 2, 1),
	},
	"45_holiday_250707": {
		host: `www.a45.com`,
		data: { name: `A45`, logo: `a45` },
		html: createHtmlProps(4, 2, 1),
	},
	"46_digital_250710": {
		host: `www.a46.com`,
		data: { name: `A46`, logo: `a46` },
		html: createHtmlProps(4, 2, 1),
	},
	"47_teacher_250716": {
		host: `www.a47.com`,
		data: { name: `A47`, logo: `a47` },
		html: createHtmlProps(4, 2, 1),
	},
	"48_exercise_250723": {
		host: `www.a48.com`,
		data: { name: `A48`, logo: `a48` },
		html: createHtmlProps(4, 2, 1),
	},
	"49_country_250725": {
		host: `www.a49.com`,
		data: { name: `A49`, logo: `a49` },
		html: createHtmlProps(4, 2, 1),
	},
	"50_battery_250730": {
		host: `www.a50.com`,
		data: { name: `A50`, logo: `a50` },
		html: createHtmlProps(4, 2, 1),
	},
	"51_clothes_250806": {
		host: `www.a51.com`,
		data: { name: `A51`, logo: `a51` },
		html: createHtmlProps(4, 2, 1),
	},
	"52_diamond_250808": {
		host: `www.a52.com`,
		data: { name: `A52`, logo: `a52` },
		html: createHtmlProps(4, 2, 1),
	},
	"53_element_250813": {
		host: `www.a53.com`,
		data: { name: `A53`, logo: `a53` },
		html: createHtmlProps(4, 2, 1),
	},
	"54_family_250818": {
		host: `www.a54.com`,
		data: { name: `A54`, logo: `a54` },
		html: createHtmlProps(4, 2, 1),
	},
	"55_garden_250822": {
		host: `www.a55.com`,
		data: { name: `A55`, logo: `a55` },
		html: createHtmlProps(4, 2, 1),
	},
	"56_imagine_250827": {
		host: `www.a56.com`,
		data: { name: `A56`, logo: `a56` },
		html: createHtmlProps(4, 2, 1),
	},
	"57_justice_250901": {
		host: `www.a57.com`,
		data: { name: `A57`, logo: `a57` },
		html: createHtmlProps(4, 2, 1),
	},
	"58_kingdom_250903": {
		host: `www.a58.com`,
		data: { name: `A58`, logo: `a58` },
		html: createHtmlProps(4, 2, 1),
	},
	"60_unicorn_YT251011": {
		host: `www.60a1.com`,
		data: { name: `60A1`, logo: `60a1` },
		html: createHtmlProps(4, 2, 1),
	},
	"60_victory_YT251016": {
		host: `www.60a2.com`,
		data: { name: `60A2`, logo: `60a2` },
		html: createHtmlProps(4, 2, 1),
	},
	"60_weather_YT251022": {
		host: `www.60a3.com`,
		data: { name: `60A3`, logo: `60a3` },
		html: createHtmlProps(4, 2, 1),
	},
	"60_yesterday_YT251028": {
		host: `www.60a4.com`,
		data: { name: `60A4`, logo: `60a4` },
		html: createHtmlProps(4, 2, 1),
	},
	"60_ancient_YT251103": {
		host: `www.60a5.com`,
		data: { name: `60A5`, logo: `60a5` },
		html: createHtmlProps(4, 2, 1),
	},
	"60_balance_YT251106": {
		host: `www.60a6.com`,
		data: { name: `60A6`, logo: `60a6` },
		html: createHtmlProps(4, 2, 1),
	},
	"60_capture_YT251110": {
		host: `www.60a7.com`,
		data: { name: `60A7`, logo: `60a7` },
		html: createHtmlProps(4, 2, 1),
	},
	
};

function createHtmlProps(ad0Count, ad1Count, ad2Count) {
	const html = {
		htmlTest: "",
		hd_index: "",
		hd_details: "",
		hd_category: "",
		hd_play: "",
	};

	[ad0Count, ad1Count, ad2Count].forEach((count, idx) => {
		const prefix = `ad${idx}_`;
		for (let i = 0; i < count; i++) {
			html[`${prefix}${i}`] = "";
		}
	});

	return html;
}

export const DomainType = {
	com: 'com',
	top: 'top',
	eu: 'eu',
	org: 'org',
	vip: 'vip',
};

export const Versions_Data = {
	v0: new Date().toLocaleDateString(),
	version: 'V1.0.3', //2024.4.25启用线上版本
};
